import redis.clients.jedis.Jedis;

/**
 * @author Veng Su 1344114844@qq.com
 * @date 2018/4/19 16:06
 */
public class StringRedis
{
    public static void main(String[] args) {
        Jedis jedis=new Jedis("127.0.0.1",6379);
        jedis.set("su","hwl");
        jedis.set("s","suewfasdasdf");
        jedis.set("s2","suewfasdasdf");
        jedis.set("sw","suewfasdadsfasdsdf");
        jedis.set("sasd","dfdsafssuewfasdasdf");
        System.out.println(jedis.mget("su","s","s2"));
    }
}
